package com.hmall.common.client;

import com.hmall.common.config.DefaultFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "orderservice", configuration = DefaultFeignConfiguration.class)
public interface OrderClient {

    @GetMapping("/error")
    String errorPage();
}
